package com.jiazhong.shopping.model;

/*
该类是与tbl_eat表对应的一个实体类，类中的属性和表中的字段一一对应
该类的一个实例（对象）对应了表中的一条数据
 */
public class Eat {
    private Integer eat_id;
    private String eat_name;
    private Double eat_price;
    private String eat_image;
    private String eat_desc;

    public Integer getEat_id() {
        return eat_id;
    }

    public void setEat_id(Integer eat_id) {
        this.eat_id = eat_id;
    }

    public String getEat_name() {
        return eat_name;
    }

    public void setEat_name(String eat_name) {
        this.eat_name = eat_name;
    }

    public Double getEat_price() {
        return eat_price;
    }

    public void setEat_price(Double eat_price) {
        this.eat_price = eat_price;
    }

    public String getEat_image() {
        return eat_image;
    }

    public void setEat_image(String eat_image) {
        this.eat_image = eat_image;
    }

    public String getEat_desc() {
        return eat_desc;
    }

    public void setEat_desc(String eat_desc) {
        this.eat_desc = eat_desc;
    }

    @Override
    public String toString() {
        return "Eat{" +
                "eat_id=" + eat_id +
                ", eat_name='" + eat_name + '\'' +
                ", eat_price=" + eat_price +
                ", eat_image='" + eat_image + '\'' +
                ", eat_desc='" + eat_desc + '\'' +
                '}';
    }
}
